import {get} from '@/utils/request'


export function getInfo(page, pageSize, searchForm) {
    let url = '/home/payment-bill/list?page=' + page + '&pageSize=' + pageSize + '&orderNo=' + searchForm.orderNo
    if (searchForm.timeRange[0] != undefined && searchForm.timeRange[0] != '') {
        url += '&startTime=' + searchForm.timeRange[0];
    }
    if (searchForm.timeRange[1] != undefined && searchForm.timeRange[1] != '') {
        url += '&endTime=' + searchForm.timeRange[1];
    }
    return get(url)
}



